import request from '@/utils/request'
// 土壤最新
export const getNewSoilDeviceApi = (params) =>
  request.get(
    `/shuzhongtianDeviceApi/soilData/getMaxIdSoilData?landId=${params.landId}`
  )
// 气象最新
export const getNewWeatherApi = (params) =>
  request.get(
    `/shuzhongtianDeviceApi/weather/getMaxIdWeather?landId=${params.landId}`
  )
  // 获取梅林地块监控
export const getVideoUrlApi = (id) => request.get(`/api/monitoring/getVideoUrl?serialNumber=${id}`)
